package com.flyco.modules.task.xml;

import com.thoughtworks.xstream.annotations.XStreamAlias;
import com.thoughtworks.xstream.annotations.XStreamImplicit;
import lombok.Data;

import java.util.ArrayList;
import java.util.List;

@XStreamAlias("DATA_OUT")
@Data
public class SapDistributorProductRespXML {

    @XStreamImplicit(itemFieldName = "item")
    private List<SapDistributorProductItem> itemList = new ArrayList<>();

    @XStreamAlias("item")
    @Data
    public class SapDistributorProductItem {
        /**
         *
         */
        @XStreamAlias("VKBUR")
        private String VKBUR;

        /**
         * 物料编码
         */
        @XStreamAlias("MATNR")
        private String MATNR;

        /**
         * 截止时间
         */
        @XStreamAlias("DATBI")
        private String DATBI;

        /**
         * 开始时间
         */
        @XStreamAlias("DATAB")
        private String DATAB;
    }
}


